package com.css.zfzx.fxpg.modules.vulnerability.danger.repository;

import com.css.zfzx.fxpg.modules.vulnerability.danger.repository.entity.FxVulnerabilityDangerEntity;
import com.css.zfzx.fxpg.modules.vulnerability.danger.viewobjects.FxVulnerabilityDangerQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author andy
 * @date 2020-12-10
 */
public interface FxVulnerabilityDangerNativeRepository {

    Page<FxVulnerabilityDangerEntity> queryFxVulnerabilityDangers(FxVulnerabilityDangerQueryParams queryParams, int curPage, int pageSize);

    List<FxVulnerabilityDangerEntity> listFxVulnerabilityDangers(FxVulnerabilityDangerQueryParams queryParams);

}
